const gulp = require('gulp')
const watch = require('gulp-watch')
const electron = require('electron-connect').server.create()
 
gulp.task('watch:electron', function () {
    electron.start()
    watch(['./main.js'], electron.restart)
    watch(['./src/**/*.{html,js,css}'], electron.reload)
})